
var deps = {};

/**
 * 添加依赖
 */
sps.addDependency = function (name, src, dependency) {
    var d = deps[name] = { };

    d.src = src;
    dependency && (d.deps = dependency);
};


/* GIS */
sps.addDependency('sps.gis.supermap.MapControl', 'gis/mapControl.js');
sps.addDependency('sps.gis.supermap.Map', 'gis/map.js');